package com.tuyrt.demo.singleton

/**
 * author: Administrator on 2021/11/10.
 * desc:
 */
class Singleton4 private constructor() {

    companion object {
        val instance = SingletonProvider.holder
    }

    private object SingletonProvider {
        val holder = Singleton4()
    }
}